package xyz.luhui1hao.springboottest.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import xyz.luhui1hao.springboottest.domain.UserInfo;

@Mapper
@Repository
public interface UserInfoMapper {
    /**
     * 通过username查找用户信息;
     */
    UserInfo findByUsername(String username);
}
